<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>绿地养护</title>
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<link rel="stylesheet" type="text/css" href="../../css/api.css" />
		<link rel="stylesheet" type="text/css" href="../../css/globle.css" />
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
		<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
		<link rel="stylesheet" type="text/css" href="../../css/common.css" />
		<style>
			body {
				padding-top: 25px;
			}
			span {
				margin: 10px;
			}
			.Tabl {
				height: 50px;
				width: 88%;
				font-size: 14px;
				font-weight: bold;
				text-align: left;
				margin-left: 6%;
			}
			.Td1 {
				color: #B8B8B8;
				width: 110px;
			}
			.Td2 {
				color: #000000;
				text-align: left;
			}
			.Hr {
				height: 1px;
				width: 96%;
				background-color: #B8B8B8;
				margin-left: 2%;
			}
			.Butt {
				border: 1px solid #B8B8B8;
				border-radius: 20px;
				color: #FFFFFF;
				height: 17px;
				width: 17px;
				outline: none;
			}
			.TabImg {
				height: 150px;
				width: 96%;
				margin-left: 2%;
				border: 10px solid #D8D8D8;
			}
			.TdImg1 {
				height: 110px;
				width: 90px;
			}
			.TdImg2 {
				height: 110px;
				width: 90px;
			}
			.ButAdd {
				height: 110px;
				width: 100px;
				font-size: 100px;
				color: #FFFFFF;
				background-color: #B8B8B8;
			}
			.TabL {
				height: 75px;
				width: 88%;
				font-size: 16px;
				font-weight: bold;
				text-align: left;
				margin-left: 6%;
			}
			.ButL {
				height: 40px;
				width: 100%;
				background-color: #D0D0D0;
				position: fixed;
				bottom: 0;
			}
			.Td3 {
				text-align: center;
				width: 50%;
			}
			select {
				appearance: none;
				-moz-appearance: none;
				-webkit-appearance: none;
				border: none;
				background: none;
			}
		</style>
	</head>
	<body>
		<input type="hidden" id="hid" name="hid"/>
		<input type="hidden" id="xiangmuid" name="xiangmuid"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">项目名称</td>
				<td class="Td2">
				<input type="text" readonly="readonly" id="departProjectid" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">绿地名称</td>
				<td class="Td2">
				<input type="text" readonly id="userid" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">发现时间</td>
				<td class="Td2">
				<input type="text"readonly id="maintenanceDate" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">病/虫害类型</td>
				<td class="Td2">
				<input type="text"readonly id="typeis" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">病情/虫灾描述</td>
				<td class="Td2">
				<input type="text"readonly id="insectpest" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">虫灾地点</td>
				<td class="Td2">
				<input type="text"readonly id="didian" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">感染数量</td>
				<td class="Td2">
				<input type="text"readonly id="quantity" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">感染植物</td>
				<td class="Td2">
				<input type="text"readonly id="huname" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">药剂名称</td>
				<td class="Td2">
				<input type="text"readonly id="drug" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">用量</td>
				<td class="Td2">
				<input type="text" readonly id="consumption" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">处置效果</td>
				<td class="Td2">
				<input type="text"readonly id="treatmenteffec" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">处置时间</td>
				<td class="Td2">
				<input type="text"readonly id="esdtimesssss" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">处置方法</td>
				<td class="Td2">
				<input type="text"readonly id="fangfa" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<table class="Tabl">
			<tr>
				<td class="Td1">施工单位</td>
				<td class="Td2">
				<input type="text"readonly id="construction" value=""/>
				</td>
			</tr>
		</table>
		<hr class="Hr"/>
		<div style="padding: 10px;">
			<ul class="upload-ul clearfix">
				<li class="upload-pick">
					<div class="webuploader-container clearfix" id="goodsUpload"></div>
				</li>
			</ul>
		</div>
		<hr class="Hr"/>
		<!--<table class="TabL">
			<tr>
				<td>				<textarea rows="4" cols="35" placeholder="备注"></textarea></td>
			</tr>
		</table>-->
		<!--<div class="modal-footer">
		<button  class="btn btn-primary"  style="width: 100%" onclick="sub()">
		保存更改
		</button>
		</div>-->
	</body><script src="../../script/webuploader.min.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script src="../../script/diyUpload.js"></script>
	<script type="text/javascript" src="../../script/vue.js"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript">
		var projectid = $api.getStorage('selectpor').id;
		var user = $api.getStorage('userSession');
		////企业id
		var qiyeid = $api.getStorage('userSession').data.depart.id;
		//項目名称
		var departname = $api.getStorage('selectpor').projectName;
		apiready = function() {
			var result = api.pageParam.result;
			$("#departProjectid").val(departname);
			var date = new Date(result.releasetime);
			var year = date.getFullYear(result.releasetime);
			var month = date.getMonth(result.releasetime) + 1;
			var day = date.getDate(result.releasetime);
			month = month < 10 ? "0" + month : month;
			day = day < 10 ? "0" + day : day;
			date = year + '-' + month + '-' + day;
			$("#maintenanceDate").val(date);
			$("#userid").val(result.greenspace);
			$("#insectpest").val(result.insectpest);
			$("#didian").val(result.didian);
			$("#quantity").val(result.quantity);
			$("#huname").val(result.infectedplants);
			$("#drug").val(result.drug);
			$("#consumption").val(result.consumption);
			$("#treatmenteffec").val(result.treatmenteffec);
			$("#esdtimesssss").val(result.esdtime);
			$("#fangfa").val(result.fangfa);
			$("#typeis").val(result.typeis);
			$("#construction").val(result.construction);
		}
	</script>
</html>
